/*
 * @Author: chululu 83503768@qq.com
 * @Date: 2024-04-18 09:10:17
 * @LastEditors: chululu 835036768@qq.com
 * @LastEditTime: 2025-09-10 20:58:02
 * @FilePath: \electronic-seal\src\router\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AEmeo1
 */
import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL), // 改为 hash 模式
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
    {
      path: '/katong/tiaosheng',
      name: 'kt-tiaosheng',
      component: () => import('../views/katong/tiaosheng.vue')
    },
    {
      path: '/katong/fruit',
      name: 'kt-fruit',
      component: () => import('../views/katong/fruit.vue')
    },
    {
      path: '/katong/wawa',
      name: 'kt-wawa',
      component: () => import('../views/katong/wawa/index.vue')
    },
    {
      path: '/katong/pengpengqiu',
      name: 'kt-pengpengqiu',
      component: () => import('../views/katong/pengpengqiu.vue')
    },
    {
      path: '/tec/tiaosheng',
      name: 'tec-tiaosheng',
      component: () => import('../views/tec/tiaosheng.vue')
    },
    {
      path: '/tec/fruit',
      name: 'tec-fruit',
      component: () => import('../views/tec/fruit.vue')
    },
    {
      path: '/tec/wawa',
      name: 'tec-wawa',
      component: () => import('../views/tec/wawa/index.vue')
    },
    {
      path: '/tec/pengpengqiu',
      name: 'tec-pengpengqiu',
      component: () => import('../views/tec/pengpengqiu.vue')
    }
  ]
})

export default router
